<style type="text/css">
	.col{
		width:300px;
		white-space: nowrap;
		text-overflow:ellipsis;
		overflow:hidden;
	}
</style>


<div class="content">
		<div class="info-title">基本信息</div>
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span3" style="border:1px solid #E5E5E5;height:584px">
					<ul class="nav nav-list">
						<li class="nav-header" style="font-size:20px;padding-top:15px">管理</li>
						<li class="divider"></li>
						<li class=""><a href="/EECloud/index.php/publishres/checkres">审核管理</a></li>
						<li class="divider"></li>
						<li><a href="">其他管理</a></li>
						<!-- <li class="divider"></li>
						<li><a href="/EECloud/index.php/userinfo/interests">兴趣爱好</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/userinfo/education">教育背景</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/userinfo/career">工作信息</a></li>
						<li class="divider"></li>
						<li><a href="/EECloud/index.php/userinfo/portrait">头像设置</a></li> -->
						<li class="divider"></li>
						<li class="nav-header" style="font-size:20px">其他资源</li>

					</ul>
				</div>
				<div class="span9" style="">
<div class="content-title">待审核资源</div>
<div class="info-content">
	<table class="info" cellpadding="5px">
		<!-- <thead>
			<tr>
				<td>资源名称</td>
				<td></td>
			</tr>
		</thead> -->
		<?php if (isset($checkres)):?>
		<?php $num=1; ?>
		<?php foreach ($checkres as $key => $value): ?>
		<tr>
			<td><?php echo "$num. ";$num++; ?></td>
			<input id="res_check_id" type="hidden" name="res_check_id" value="<?=$value['id']?>" />
			<td><!-- <a  class="col" href="javascript:void(0);" onclick="javascript:get_to_detail(<?=$value['id']?>);"><?=$value['resource_title']?></a> -->
			<div class="col" style=""><a href="javascript:void(0);" onclick="javascript:get_to_detail(<?=$value['id']?>);"><?=$value["resource_title"];?></a></div>
			</td>
		</tr>
		<?php endforeach;?>
		<?php endif;?>
		<!-- <tr>
			<td>资源名称：</td>
			<td><a href="/EECloud/index.php/publishres/resInfo">资源二</a></td>
		</tr>
		<tr>
			<td>资源名称：</td>
			<td><a href="/EECloud/index.php/publishres/resInfo">资源三</a></td>
		</tr>
		<tr>
			<td>资源名称：</td>
			<td><a href="/EECloud/index.php/publishres/resInfo">资源四</a></td>
		</tr>
		<tr>
			<td>资源名称：</td>
			<td><a href="/EECloud/index.php/publishres/resInfo">资源五</a></td>
		</tr> -->
	</table>	
</div>

<script type="text/javascript">
	
	$(document).ready(function(){

		$('#save_publish').click(function(){

			$('#public_res_form').submit();
			return false;
		});

	});

function get_to_detail(id){
	window.location.href = '/EECloud/index.php/publishres/resInfo?id=' + id;
}
</script>